﻿using System.ComponentModel.DataAnnotations.Schema;

namespace Pay.Data.Mapping {
    public partial class TokenTaskUpgradeMap
        : System.Data.Entity.ModelConfiguration.EntityTypeConfiguration<TokenTaskUpgrade>
    {
        public TokenTaskUpgradeMap()
        {
            ToTable("mc_TokenTaskUpgrade", "dbo");

            HasKey(t => t.Id);
            Property(t => t.Id)
                .HasColumnName("Id")
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.None)
                .IsRequired();
        }
    }
}
